package cn.example.vip.mall.goods.service;

import cn.example.vip.mall.goods.entity.CategoryAttr;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CategoryAttrService extends IService<CategoryAttr> {
	List<CategoryAttr> queryList(CategoryAttr categoryAttr);
	Page<CategoryAttr> queryPageList(CategoryAttr categoryAttr, Long pageNum, Long pageSize);
	
	Integer updateByCategory(CategoryAttr categoryAttr, Integer categoryId, Integer attrId);
	Integer deleteById(Integer categoryId, Integer attrId);
}
